<?php

class ProfileGalleryController extends Zend_Controller_Action
{

    public function indexAction()
    {
        $dirName = (string)$this->_request->getParam('name');
        $model = new Application_Model_DbTable_PageImages();
        $where = array('folder = ?' => (string)$dirName);
        $this->view->images = $model->fetchAll($where);
    }


}

